﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace MaterialDemo.Model.UserDTO
{
    /// <summary>
    /// 添加用户信息输入DTO
    /// </summary>
   public class UserInput
    {
        public int Id { get; set; }

        [Required]
        [StringLength(16)]
        public string UserId { get; set; }

        [Required]
        [StringLength(16)]
        public string UserName { get; set; }

        [StringLength(16)]
        public string PhoneNum { get; set; }

        [StringLength(32)]
        public string Email { get; set; }

        [Required]
        [StringLength(16)]
        public string DepartmentId { get; set; }

        public byte Sex { get; set; }

       
    }
}
